作成日:2002/ 6/19 作成時刻:13:56:15 |
テーブル | Orders | 備考 |
# | カラム | 属性 | 桁数 | サイズ | NULL | 備考 |
1 | OrderID | int identity | 10.0 | 4 | no | |
2 | CustomerID | nchar | 5 | 10 | ||
3 | EmployeeID | int | 10.0 | 4 | ||
4 | OrderDate | datetime | 23 | 16 | ||
5 | RequiredDate | datetime | 23 | 16 | ||
6 | ShippedDate | datetime | 23 | 16 | ||
7 | ShipVia | int | 10.0 | 4 | ||
8 | Freight | money | 19.4 | 21 | ||
9 | ShipName | nvarchar | 40 | 80 | ||
10 | ShipAddress | nvarchar | 60 | 120 | ||
11 | ShipCity | nvarchar | 15 | 30 | ||
12 | ShipRegion | nvarchar | 15 | 30 | ||
13 | ShipPostalCode | nvarchar | 10 | 20 | ||
14 | ShipCountry | nvarchar | 15 | 30 |
インデックス | 重複 | カラム | 並び順 | |
PK_Orders | Primary | OrderID | A | |
CustomerID | True | CustomerID | A | |
CustomersOrders | True | CustomerID | A | |
EmployeeID | True | EmployeeID | A | |
EmployeesOrders | True | EmployeeID | A | |
OrderDate | True | OrderDate | A | |
ShippedDate | True | ShippedDate | A | |
ShippersOrders | True | ShipVia | A | |
ShipPostalCode | True | ShipPostalCode | A |
外部キー | テーブル | 主キー | 外部キーカラム | 主キーカラム |
FK_Orders_Customers | Customers | PK_Customers | CustomerID | CustomerID |
FK_Orders_Employees | Employees | PK_Employees | EmployeeID | EmployeeID |
FK_Orders_Shippers | Shippers | PK_Shippers | ShipVia | ShipperID |